export default {
    data: {
        id: '5465',
        name: '贪欲之壶',
        desc: '抽两张卡',
        type: ['magic', 'tc']
    },
    effects: [
        {
            text: '从卡组抽两张卡',
            effect() {
                this.owner.draw(2);
            },
            condition: {
                'hand-effect': function () {
                    if (this.owner.hand.num > 1) {
                        return true;
                    } else {
                        this.owner.duel.msg('你的手卡小于1张，无法使用这张卡！');
                        return false
                    }
                }
            }
        }
    ]
}